package com.lfnyxy.dao;

import com.lfnyxy.dto.DropVo;
import com.lfnyxy.entity.ServerTypeEntity;
import com.lfnyxy.query.ServerTypeQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface ServerTypeDao {
    int CreateItem(ServerTypeEntity entity);

    int UpdateItem(ServerTypeEntity entity);

    List <ServerTypeEntity> QueryPageList(ServerTypeQuery query);

    List <ServerTypeEntity> QueryAll();

    int QueryPageListCount(ServerTypeQuery query);

    int CheckIsExist(ServerTypeEntity entity);

    ServerTypeEntity QueryItem(int Id);

    int DeleteItem(int Id);

    List <DropVo> QueryDrop();
}